<template>
    <div>
      <a-tag>标签 1</a-tag>
      <a-tag><a href="https://github.com/vueComponent/ant-design">Link</a></a-tag>
      <a-tag closable @close="log">
        标签 2
      </a-tag>
      <a-tag closable @close="preventDefault">
        Prevent Default
      </a-tag>
    </div>
  </template>
  <script>
  export default {
    methods: {
      log(e) {
        console.log(e);
      },
      preventDefault(e) {
        e.preventDefault();
        console.log('Clicked! But prevent default.');
      },
    },
  };
  </script>
  